package cn.lutu.lutu.service;

import cn.lutu.lutu.pojo.dto.UserRegDTO;
import org.springframework.mail.SimpleMailMessage;
import org.springframework.stereotype.Service;

@Service
public interface EmailService {

    String sendAllEmail(String emailAddress,String subject,String text);

    SimpleMailMessage createCodeEmail(String email,Integer emailCode);

    String EmailCodeText(String nickName,Integer emailCode);

    Integer randomEmailCode();




}
